﻿using WebApp.Web.Core.Auth;
using kzjd.rycp.WebApp.App_Start;
using System.Web;
using System.Web.Mvc;

namespace kzjd.rycp.WebApp
{
    public class FilterConfig
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            //全局Filter
            filters.Add(new CustomHandleErrorAttribute());

            filters.Add(new PathAuthorizeFilterAttribute());
        }
    }
}
